<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge, Chrome=1, requiresActiveX=true">
<meta http-equiv="x-rim-auto-match" content="none">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no, email=no">
<title>异常提示</title>
	<style>
		*{ padding:0; margin:0; }
		body{ background-color:#eee;}
		.header{ 
			color: #fff;
			width: 100%;
			background: #00aeff;
			height: 46px;
			line-height: 46px;
			position: fixed;
			top: 0px;
			left: 0px;
			z-index: 999;

		}
		.box{
			background-color:#d1dce4;
			width:75%;
			margin:100px auto 0;
			padding:25px 0;
			border-radius:8px;
		}
		.explain{ width:90px; height:90px; margin:0 auto; }
		.explain img{ display:block; height:100%; width:100%;}
		.tips_text{ 
		   width:92%; 
		   text-align:center; 
		   font-size:20px; 
		   color:#c02f2f; 
		   margin:30px auto 0; 
		   font-weight:bold;		  
		 }
		 .skip_box{
			 width:86%;
			 margin:13px auto 0;			 
		 }
		.skip{
			font-size:14px;			
			text-align:center;
			color:#666;
		}
		.skip a{
			white-space:nowrap;
		}
		.title{
			width: 120px;
			margin: 0 auto;
			text-align: center;
		}
		.back{
			float: left;
			display: block;
			width: 46px;
			height: 46px;
			background: url( ../../yajian/img/back_icon.png)center center no-repeat;
			background-size:25%;

		}
	</style>
</head>

<body>
<header class="header">
	<a class="back" href="javascript:history.back(-1)"></a>
	<div class="title">异常提示</div>
</header>
<div class="box">
	<div class="explain"><img src="<?php echo $_BASE_DIR?>img/excptioncue1.png" /></div>
	
	<div class="tips_text"><p><?php echo $cue?></p></div>
         
        <?php if(!empty($url)){?> <div id="c1">
            <div style="display:none" id = "is_url"><?php echo $url;?></div>
                <div class="skip_box"><p class="skip"><span id="dnumDivd" style="color:red; font-size:16px;">5</span> 秒后将自动跳转，如未跳转，
				    <a href="<?php echo $url?>" >点击这里</a></p></div>			
            </div>    <?php }?>                            
        
</div>
</body>
<script type="text/javascript">
    //setTimeout("parent.location.href ='<?php echo $url; ?>';", 5000);
</script>
<script type="text/javascript">

var num=5;
var numDiv = document.getElementById("dnumDivd");
var is_url = document.getElementById("is_url");
if(is_url != null){
var interval=setInterval(function(){
if(num==0){
clearInterval(interval);
}
numDiv.innerHTML=num--;
},1000);
}
<?php 
	    //获取微信分享配置
	    $sharelink = array();

	    $title = '成都雅建--';
	    global $root_dir;
	    $root_dir = str_replace("\\", "/", $root_dir);
	    require_once $root_dir.'/app/view/_footer.php';
	     
	 
	   ?>
</script>
</html>
